<%-- 
    Document   : register
    Created on : Nov 22, 2012, 9:35:44 AM
    Author     : BlueS
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="pf"
          uri="/WEB-INF/tlds/pf_tag_lib.tld"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
        <link href="Theme/style.css" media="screen" rel="stylesheet" type="text/css">
    </head>
    

    <body>
        <img src="Image/logo.png" height="150" width="350" class="logo">
        <%
            if ("POST".equals(request.getMethod())) {
                /*if (BudgetDAL.checkLogin(request.getParameter("username"), request.getParameter("pass"))) {
                 HttpSession ses = request.getSession();
                 ses.setAttribute("pass", request.getParameter("pass"));
                 ses.setAttribute("user", request.getParameter("username"));
                 response.sendRedirect("manager.jsp");
                 }*/
            }

        %>
    <center>
        <form action="resuccess.jsp" method="POST">
            <div class="box">

                <h1>Register :</h1>

                <label>
                    <span>Username</span>
                    <input type="text" class="input_text" name="username" id="username"/>
                </label>
                <label>
                    <span>Password</span>
                    <input type="password" class="input_text" name="pass" id="subject"/>
                </label>
                <label>
                    <span>Gender</span>
                    <select class="input_text" style="width: 215px;" name="gender" id="gender">
                        <option>Male</option>
                        <option>Female</option>
                    </select>
                </label>
                <label>
                    <span>Email</span>
                    <input type="text" class="input_text" name="email" id="email"/>
                </label>
                <label>
                    <input type="submit" class="button" value="Register" />
                </label>


            </div>
        </form>
    </center>
</body>
</html>
